home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Suzy B Software 2
/
Suzy B Software CD-ROM 2 (1994).iso
/
extras
/
programm
/
gemfsc20
/
gemfsc20.lzh
/
GEMFBIND
/
VSINMODE.S
< prev
next >
Wrap
Text File
|
1993-03-16
|
953b
|
37 lines
;*========================================================================
;* VDIFAST Public Domain VDI bindings.
;*========================================================================
;*------------------------------------------------------------------------
;* Set input mode.
;*------------------------------------------------------------------------
globl _vsin_mode
_vsin_mode:
; .cargs #8,handle.w,devtyp.w,mode.w
handle = 8
devtyp = 10
mode = 12
link a6,#-2
; VContrl #33,,,#2
move.w handle(a6),-(sp) ; contrl[6]
clr.l -(sp) ; contrl[5,4]
move.w #2,-(sp) ; contrl[3]
subq.l #2,sp ; contrl[2]
clr.w -(sp) ; contrl[1]
move.w #33,-(sp) ; contrl[0]
subq.l #4,sp ;* -> ptsout
pea -2(a6) ;* -> intout
subq.l #4,sp ;* -> ptsin
pea devtyp(a6) ;* -> intin
pea 16(sp) ;* -> contrl
jmp vdicall
end